<?php if (!defined('THINK_PATH')) exit(); if(C('LAYOUT_ON')) { echo ''; } ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>操作成功</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="/Public/Tsnews/css/weui.min.css">
    <script src="/Public/Tsnews/js/jweixin-1.1.0.js"></script>
    <script src="/Public/Tsnews/js/jquery.js"></script>
</head>
<body>
	<div class="weui-msg">
    <div class="weui-msg__icon-area"><i class="weui-icon-success weui-icon_msg"></i></div>
    <div class="weui-msg__text-area">
        <h2 class="weui-msg__title"><?php echo ($str); ?></h2>
        <a id="href" href="<?php echo($jumpUrl); ?>"></a>
        <p class="weui-msg__desc">系统在<span id="wait">3</span>秒钟后页面自动关闭</p>
    </div>
    <div class="weui-msg__opr-area">
        <p class="weui-btn-area">
            <a href="javascript:history.back();" class="weui-btn weui-btn_default"><?php echo($error); ?></a>
        </p>
    </div>
    <div class="weui-msg__extra-area">
        <div class="weui-footer">
            <p class="weui-footer__links">
                <a href="javascript:void(0);" class="weui-footer__link">中国航天-神舟软件</a>
            </p>
            <p class="weui-footer__text">Copyright &copy; 2008-2017 </p>
        </div>
    </div>
</div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		clearInterval(interval);
        WeixinJSBridge.call('closeWindow');
	};
}, 1000);
})();
</script>
</body>
</html>